﻿@model LoginVm
@{
    ViewData["Title"] = "登录";
}
<h2>@ViewData["Title"]</h2>
<form class="form-horizontal" role="form" method="post" action="@Url.Action("SignIn","Account")">
    @Html.AntiForgeryToken()
    <input type="hidden" name="returnUrl" value="@ViewBag.ReturnUrl" />
    <div class="form-group">
        <label class="col-sm-2 control-label" for="exampleInputEmail">@Html.DisplayNameFor(x => Model.UserName)</label>
        <div class="col-sm-10">
            <input type="text" name="UserName" class="form-control" id="txtName" value="Zj">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label" for="exampleInputEmail">@Html.DisplayNameFor(x => Model.Password)</label>
        <div class="col-sm-10">
            <input type="password" name="Password" class="form-control" id="txtPwd" value="p@ssw0rd">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <div class="checkbox">
                <label>
                    <input type="checkbox" name="RememberMe" value="true"/> Remember me
                </label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">Submit</button>
        </div>
    </div>
</form>

